﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MYQQX
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            CardConfig.Instance.Init();
            GroupConfig.Instance.Init();

            var sFrm = new InitForm();
            if (sFrm.ShowDialog() == DialogResult.OK)
            {
                var xFrm = new XYSetForm(sFrm._GameInfo);
                if (xFrm.ShowDialog() == DialogResult.OK)
                {
                    xFrm.mainForm.ShowDialog();
                }
            }
        }
    }
}
